Skip to content

fabrics: sanitize FC traddr#3174

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
igaw:traddr
Mar 12, 2026
Merged

fabrics: sanitize FC traddr#3174
igaw merged 1 commit intolinux-nvme:masterfrom
igaw:traddr

Conversation

@igaw
Copy link
Copy Markdown
Collaborator

@igaw igaw commented Mar 12, 2026

Improve traddr sanitization and replace “,” with “:” as the separator.

Fixes: #3173

Improve traddr sanitization and replace “,” with “:” as the separator.

Signed-off-by: Daniel Wagner <[email protected]>
@igaw igaw merged commit 14828a1 into linux-nvme:master Mar 12, 2026
25 of 26 checks passed
@igaw igaw deleted the traddr branch March 12, 2026 15:14
@hreinecke
Copy link
Copy Markdown
Collaborator

Hmm. I guess we should rather check the traddr string for the correct format, and reject a string which is not in the canonical format. After all, the discovery log page might contain garbage, and the kernel is notoriously bad at reporting errors.

@igaw
Copy link
Copy Markdown
Collaborator Author

igaw commented Mar 16, 2026

We could add a warning? Or do you think it would better to show the original string and just issue a warning?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FC address format inconsitency

2 participants